#include "renderer.h"

USING_NAMESPACE_OXGE


Renderer* RenderDevice::GetRenderer( int idx ) 
{
	assert(idx < (int)m_vRenderers.size() );
	if( idx < (int)m_vRenderers.size()  )
	{
		return m_vRenderers[idx].get();
	}
	return 0;
}

void RenderDevice::AddRenderer( Renderer* pRenderer )
{
	m_vRenderers.push_back(pRenderer);
}
